POST api/appointmentguest
Request Information
URI Parameters
None.
Body Parameters
RequestAppointmentGuestAndAppointmentGuestItem| Name | Description | Type | Additional information |
|---|---|---|---|
| Patient | Collection of RequestAppointmentGuestAdd |
None. |
|
| OtherFields | RequestOtherAppointmentGuest |
None. |
Request Formats
application/json, text/json
Sample:
{
"Patient": [
{
"AppointmentGuestItems": [
{
"AppointmentGuestID": 1,
"ModuleID": 2,
"Price": 3.0,
"RecordID": 4,
"Type": "sample string 5"
},
{
"AppointmentGuestID": 1,
"ModuleID": 2,
"Price": 3.0,
"RecordID": 4,
"Type": "sample string 5"
}
],
"Birthday": "sample string 1",
"CivilStatusID": 2,
"DiscountID": 3,
"EmailAddress": "sample string 4",
"FirstName": "sample string 5",
"GenderID": 6,
"HospitalID": 7,
"IsActive": true,
"LastName": "sample string 9",
"MiddleName": "sample string 10",
"MobileNumber": "sample string 11",
"Price": 12.0,
"TotalPrice": 13.0
},
{
"AppointmentGuestItems": [
{
"AppointmentGuestID": 1,
"ModuleID": 2,
"Price": 3.0,
"RecordID": 4,
"Type": "sample string 5"
},
{
"AppointmentGuestID": 1,
"ModuleID": 2,
"Price": 3.0,
"RecordID": 4,
"Type": "sample string 5"
}
],
"Birthday": "sample string 1",
"CivilStatusID": 2,
"DiscountID": 3,
"EmailAddress": "sample string 4",
"FirstName": "sample string 5",
"GenderID": 6,
"HospitalID": 7,
"IsActive": true,
"LastName": "sample string 9",
"MiddleName": "sample string 10",
"MobileNumber": "sample string 11",
"Price": 12.0,
"TotalPrice": 13.0
}
],
"OtherFields": {
"Address": "sample string 1",
"AppointmentLocationTypeID": 2,
"AppointmentTimestamp": "sample string 3",
"Latitude": "sample string 4",
"Longitude": "sample string 5"
}
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.